package com.azu.bitmapworker.core;

import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;

import java.io.InputStream;

/**
 * 如何显示图片
 */
public interface BitmapDisplayer {

	void show(ImageView imageView, Bitmap bitmap, BitmapDisplayConfig config);
	void show(ImageView imageView, Drawable drawable, BitmapDisplayConfig config);
	void show(ImageView imageView, InputStream inputStream, BitmapDisplayConfig config);
}
